home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / BUS / DynRisk 68k 4.01 demo.sit / DynRisk-Help.rsrc / TEXT_4801.txt < prev    next >
Text File  |  1996-08-30  |  3KB  |  28 lines

  1. A 窶徨eference窶 is an object whose purpose is to act as a link between edge function parameters and nodes. By using references you can replace the static numbers entered as function parameters, by references to nodes. To use a particular reference in an edge function, simply open the 窶廢dit edge窶 dialog box, and enter the name of the reference into the field containing the parameter you want to replace.
  2.  
  3. During a simulation DynRisk will insert the output values of these nodes as function parameters in the edges. Hence instead of having fixed numbers as function parameters, these parameters may become stochastic variables.
  4.  
  5. References are also useful if you need to use a specific parameter in many edge functions. Instead of just typing in the constant parameter value, you can use a reference to a deterministic independent node whose output value is equal to the parameter value. Later, if you need to run a simulation with a different parameter value, you only need to update the referenced node, and not all the edge functions.
  6.  
  7. Creating references
  8.  
  9. References are created by using the 窶廚reate reference窶ヲ窶 command in the 窶廴odel窶 menu. To create a reference to a node, select this node, and choose the 窶廚reate reference窶ヲ窶 command. This will bring up a dialog box where you are asked to enter a unique reference into a field. As a default, DynRisk suggests simply the name of the node as reference. In most cases this is perfectly OK. 
  10.  
  11. The point is that we need to choose a name for the reference which is unique among the references. Hence, if we had created another reference earlier with the same name, then we would need to come up with something else this time. 
  12.  
  13. To assist you in the process of finding a name for the reference, the dialog box also contains a list of all previously defined references.
  14.  
  15. If you try to enter a name that is already in use, DynRisk will display the following error message below the list of references:
  16.  
  17. 窶弋his reference name is already in use. Please choose a unique reference name!窶
  18.  
  19. If you try to create a reference to node which already is linked to another reference, DynRisk will display the following error message below the list of references:
  20.  
  21. 窶弋his node is already linked to a reference. Multiple references are NOT allowed!窶
  22.  
  23. As soon as you have managed to find a suitable name for the new reference, you create the reference object by clicking the 窶廾K窶 button. Alternatively, you can cancel this operation by clicking the 窶廚ancel窶 button.
  24.  
  25. If you selected only one node before bringing up the 窶廚reate reference窶 dialog box, clicking 窶廾K窶 or 窶廚ancel窶 will close the dialog box. If more than one node was selected, DynRisk will allow you to create references for all these before dismissing the dialog box.
  26.  
  27. If you want to break the sequence of reference creation before reaching the end, press the 窶廾ption窶 key on the keyboard while clicking either 窶廾K窶 or 窶廚ancel窶.
  28.